package io.geekidea.springbootplus.system.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.geekidea.springbootplus.framework.common.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import java.math.BigDecimal;
import java.util.Date;


@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "SysFavourite对象", description = "收藏夹")
public class SysFavouriteVo extends BaseEntity {

    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.AUTO)
    public Integer id;


    @ApiModelProperty("商品编号")
    public Integer productId;


    @ApiModelProperty("商品名称")
    public String productName;


    @ApiModelProperty("商品图片地址")
    public String productImage;


    @ApiModelProperty("商品售价")

    public BigDecimal productPrice;


    @ApiModelProperty("市场价")

    public BigDecimal originalPrice;


    @ApiModelProperty("会员编号")
    public Integer memberId;


    @ApiModelProperty("默认系统当前时间")
    public Date createdOn;

}
